<include file="Admin/Public/Header" />
<script src="__PUBLIC__/Manage/js/jquery.form.min.js"></script>
<table width="100%" height="31px" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
    <tr>
        <td height="31">
            <div class="titlebt">订单修改【订单号: {$order.order_sn}】</div>
        </td>
    </tr>
</table>

<div class="main">
    <div class="form">
        <form method='post' id="form_do" name="form_do" action="{:U('Admin/Order/Modify')}">
            <dl>
                <dt><span style="color:red;"></span> 订单号：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;">{$order.order_sn}</span>
                </dd>
            </dl>

            <dl>
                <dt><span style="color:red;"></span> 买家：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;">{$order.buyer_name}</span>
                </dd>
            </dl>

            <dl>
                <dt><span style="color:red;"></span> 卖家：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;">{$order.seller_name}</span>
                </dd>
            </dl>

            <dl>
                <dt><span style="color:red;"></span> 订单金额：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;">{:order_amount($order['order_number'], $order['order_price'])}</span>
                    <span type="text" class="inp_one" style="border: none; color: #ccc;">(价格: {$order['order_price']}&nbsp;&nbsp;&nbsp;&nbsp;数量: {$order['order_number']})</span>
                </dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 下单时间：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;">{$order.order_time|date='Y-m-d H:i:s', ###}</span>
                </dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 支付时间：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;">{$order.pay_time|show_order_time=###,'未支付'}</span>
                </dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 发货时间：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;">{$order.send_time|show_order_time=###,'未发货'}</span>
                </dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 买家联系方式：</dt>
                <dd>
                    手机号码:<span type="text" class="inp_one" style="border: none;">{$order.order_mobile|replacement=###}</span> /
                    QQ:<span type="text" class="inp_one" style="border: none;">{$order.order_qq|replacement=###}</span>
                </dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 卖家联系方式：</dt>
                <dd>
                    手机号码:<span type="text" class="inp_one" style="border: none;">{$goods.goods_mobile|replacement=###}</span> /
                    QQ:<span type="text" class="inp_one" style="border: none;">{$goods.goods_qq|replacement=###}</span>
                </dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 买家支付宝账号：</dt>
                <dd><span type="text" class="inp_one" style="border: none;">{$order.buyer_alipay|replacement=###}</span></dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 卖家支付宝账号：</dt>
                <dd><span type="text" class="inp_one" style="border: none;">{$order.seller_alipay|replacement=###}</span></dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 买家游乐淘账号：</dt>
                <dd><span type="text" class="inp_one" style="border: none;">{$order.order_zytuid|replacement=###}</span></dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 卖家游乐淘账号：</dt>
                <dd><span type="text" class="inp_one" style="border: none;">{$goods.goods_tao|replacement=###}</span></dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 商品：</dt>
                <dd><span type="text" class="inp_one" style="border: none;">
                    <a href="{:U('Home/Goods/goods', 'id='.$order['goods_id'])}" target="_blank">{$order.goods_title}</a>
                </span></dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 订单状态：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;">{$order.order_real_status|order_status=###}</span>
                </dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 状态变更：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;">
                        <foreach name="status" item="v" key="key">
                            <if condition="$key == $order['order_real_status']">
                                <php>$checked = 'checked="checked"';</php>
                                <else />
                                <php>$checked = '';</php>
                            </if>
                            <label><input type="radio" value="{$key}" name="status" {$checked} /> {$v}</label>&nbsp;&nbsp;
                        </foreach>
                        <input type="hidden" id="sn" name="sn" value="{$order.order_sn}" />
                    </span>
                </dd>
            </dl>
            <div class="form_b">
                <input type="submit" class="btn_blue" value="确认">
                <input type="button" onclick="javascript:history.go(-1);" class="btn_blue" value="返回">
            </div>
        </form>
    </div>
</div>
<script type="text/javascript">

</script>
<include file="Public/Copyright" />
</body>
</html>
